﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace SignalBox.Core.Model.Timetable
{
    public abstract class TrainScheduleAction
    {

        public TrainSchedule Schedule
        {
            get;
            set;
        }

        public string Time
        {
            get;
            set;
        }

        public string Description
        {
            get { return GetDescription(); }
        }

        public abstract string GetDescription();

        public abstract XElement ToXml();
    }
}
